package com.wedjg.concurrency.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 课程里用来标记线程安全的类或者写法
 * @author wedjg
 * @version 1.0
 * @date 2019/5/30
 */
@Target(ElementType.TYPE)
//SOURCE代表编译时被忽略
@Retention(RetentionPolicy.SOURCE)
public @interface ThreadSafe {

    String value() default "";

}
